﻿using System.Linq;
public partial class EditUser : Frame.Pages.BaseInfomationEditBasePage
{
    /// <summary>
    /// 权限编码，需要重新设置
    /// </summary>
    protected override string ActionID
    {
        get { return "0"; }
    }
    protected void LSMDSourceMain_Selecting(object sender, DevExpress.Data.Linq.LinqServerModeDataSourceSelectEventArgs e)
    {
        DAL.CMSDALDataContext dcontext = new DAL.CMSDALDataContext();
        e.QueryableSource = dcontext.BI_User.Where(o => o.IsAdmin == 0).AsQueryable();
    }
}
